-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dialogs: Add axe tests #4991
Dialogs: Add axe tests #4991
Conversation
await expect(el).to.be.accessible(); | ||
}); | ||
|
||
it.skip('no title-text', async() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We currently list title-text
as optional, but it's an axe violation if not present on this and d2l-dialog
(d2l-dialog-confirm
uses text
as backup). I've asked Jeff what he would recommend here.
await expect(el).to.be.accessible(); | ||
}); | ||
|
||
it.skip('tall content', async() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the problem we want to address in the defect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And presumably this test fails if it isn't skipped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does indeed!
Thanks for the PR! 🎉 We've deployed an automatic preview for this PR - you can see your changes here:
Note The build needs to finish before your changes are deployed. |
🎉 This PR is included in version 3.40.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Part of this Jira ticket
Adding axe tests prior to doing the work to make the dialog content container focusable if no focusable elements within it.